package com.iespring.mapper.admin;

import com.iespring.bean.admin.promotion.po.MallCoupon;
import com.iespring.bean.admin.promotion.po.MallCouponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * @Author:ZhangShuPeng
 * @Date:2022/12/28/23:15
 * @Description:
 */
public interface MallCouponMapper {
    long countByExample(MallCouponExample example);

    int deleteByExample(MallCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MallCoupon record);

    int insertSelective(MallCoupon record);

    List<MallCoupon> selectByExample(MallCouponExample example);

    MallCoupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallCoupon record, @Param("example") MallCouponExample example);

    int updateByExample(@Param("record") MallCoupon record, @Param("example") MallCouponExample example);

    int updateByPrimaryKeySelective(MallCoupon record);

    int updateByPrimaryKey(MallCoupon record);

    List<MallCoupon> selectByMallCoupon(MallCoupon mallCoupon);

    List<MallCoupon> selectByIdList(List<Integer> couponIdList);

    List<MallCoupon> selectAll();
}